object FrmArrumaXMLNFCe: TFrmArrumaXMLNFCe
  Left = 0
  Top = 0
  Caption = 'ARRUMA XML NFC-E'
  ClientHeight = 456
  ClientWidth = 992
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'Tahoma'
  Font.Style = []
  OldCreateOrder = False
  Position = poScreenCenter
  WindowState = wsMaximized
  OnShow = FormShow
  PixelsPerInch = 96
  TextHeight = 13
  object PNLPesquisa: TPanel
    Left = 0
    Top = 0
    Width = 992
    Height = 57
    Align = alTop
    TabOrder = 0
    object Label1: TLabel
      Left = 13
      Top = 6
      Width = 58
      Height = 13
      Caption = 'DT. INICIAL'
    end
    object Label2: TLabel
      Left = 149
      Top = 6
      Width = 49
      Height = 13
      Caption = 'DT. FINAL'
    end
    object Label3: TLabel
      Left = 267
      Top = 6
      Width = 38
      Height = 13
      Caption = 'STATUS'
    end
    object Label9: TLabel
      Left = 401
      Top = 6
      Width = 51
      Height = 13
      Caption = 'REGISTRO'
    end
    object JvDateEditInicial: TJvDateEdit
      Left = 13
      Top = 25
      Width = 121
      Height = 21
      ShowNullDate = False
      TabOrder = 0
    end
    object JvDateEditFinal: TJvDateEdit
      Left = 140
      Top = 25
      Width = 121
      Height = 21
      ShowNullDate = False
      TabOrder = 1
    end
    object EdtStatus: TEdit
      Left = 267
      Top = 25
      Width = 121
      Height = 21
      NumbersOnly = True
      TabOrder = 2
    end
    object BtnPesquisar: TButton
      Left = 488
      Top = 25
      Width = 75
      Height = 25
      Caption = 'Pesquisar'
      TabOrder = 3
      OnClick = BtnPesquisarClick
    end
    object edtRegistro: TEdit
      Left = 401
      Top = 25
      Width = 68
      Height = 21
      NumbersOnly = True
      TabOrder = 4
      Text = '10'
    end
  end
  object PNLReparos: TPanel
    Left = 0
    Top = 344
    Width = 992
    Height = 112
    Align = alBottom
    TabOrder = 1
    object Label4: TLabel
      Left = 13
      Top = 6
      Width = 43
      Height = 13
      Caption = 'NUMERO'
    end
    object Label5: TLabel
      Left = 435
      Top = 48
      Width = 63
      Height = 13
      Caption = 'DATA CERTA'
    end
    object Label6: TLabel
      Left = 140
      Top = 6
      Width = 77
      Height = 13
      Caption = 'CHAVE ERRADA'
    end
    object Label7: TLabel
      Left = 435
      Top = 6
      Width = 71
      Height = 13
      Caption = 'DATA ERRADA'
    end
    object Label8: TLabel
      Left = 140
      Top = 48
      Width = 69
      Height = 13
      Caption = 'CHAVE CERTA'
    end
    object dbeNumero: TDBEdit
      Left = 13
      Top = 25
      Width = 121
      Height = 21
      DataField = 'NUMEROMOV'
      DataSource = dsNotas
      ReadOnly = True
      TabOrder = 0
    end
    object dbeChaveAntiga: TDBEdit
      Left = 140
      Top = 25
      Width = 289
      Height = 21
      DataField = 'CHAVEACESSO'
      DataSource = dsNotas
      ReadOnly = True
      TabOrder = 1
    end
    object dbeDtAntiga: TDBEdit
      Left = 435
      Top = 25
      Width = 121
      Height = 21
      DataField = 'DATAEMISSAO'
      DataSource = dsNotas
      ReadOnly = True
      TabOrder = 2
    end
    object JvDateEditCerta: TJvDateEdit
      Left = 435
      Top = 64
      Width = 121
      Height = 21
      DefaultToday = True
      ShowNullDate = False
      TabOrder = 3
    end
    object EdtChaveCerta: TEdit
      Left = 140
      Top = 64
      Width = 289
      Height = 21
      TabOrder = 4
    end
    object BtnReparar: TBitBtn
      Left = 567
      Top = 25
      Width = 81
      Height = 60
      Caption = 'Reparar'
      DoubleBuffered = True
      Glyph.Data = {
        360C0000424D360C000000000000360000002800000020000000200000000100
        180000000000000C0000C40E0000C40E00000000000000000000FFFFFFFFFFFF
        FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
        FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
        FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
        FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
        FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
        FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
        FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
        FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
        FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
        FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
        FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
        FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
        FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
        FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
        FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
        FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
        FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
        FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
        FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF6D8F
        6F224C32102D10FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
        FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
        FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF7D9B7D1532
        1725EA7550DAA6122D12FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
        FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
        FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF90AA9015331525DA
        7012DE5A12DF5A4DD09E153015FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
        FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
        FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFA2BBA2173B1724CE6A11CF
        5211D35411D35411D05349C592173517FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
        FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
        FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFB6CBB61A451A23C1630FC04A0FC4
        4D10C74E10C84E10C64D0FC14B44B9881A3B1AFFFFFFFFFFFFFFFFFFFFFFFFFF
        FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
        FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC6D8C61C4F1C23B45E0DB0420EB6450EBA
        470FBC480FBC490EBB480EB7460DB24341AD7C1B401BFFFFFFFFFFFFFFFFFFFF
        FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
        FFFFFFFFFFFFFFFFFFFFFFFFD4E3D41C591C4ABC763EB7603FBB653FBE6640C0
        6933BE611EB7500DAF420DAC410CA83E0CA23B3BA1701C491CFFFFFFFFFFFFFF
        FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
        FFFFFFFFFFFFFFFFFFE0EAE01B651B4BB67144B45F45B86245BB6345BE6545C0
        664EC1804BC67245C16646BF6672CD8A77CA8D5CB9773897641B4F1BFFFFFFFF
        FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
        FFFFFFFFFFFFEBF1EB196D194EB36F4DB0624EB4654EB8674EBB684EBE6958C1
        812B752B2B752B56C4754FBE694EBC684EB9674EB5654EB2637AB993185318FF
        FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
        FFFFFFF4F8F416761653AF6F58AF6758B36958B76B59B96C59BC6D61C2832F7E
        2FFFFFFF8CB48C317E3160C27959BC6E59BA6D58B86C58B46A58B0686BAC8116
        5716FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
        FFFFFF26862662B37962B06C62B36E62B67063B97163BC726CC286328632FEFE
        FEFFFFFFFFFFFF83B0833486346BC37D63BC7363BA7163B77062B46F62B16D5D
        9F6D125B12FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
        FFFFFFB6D3B617851779BD846DB9766DBB776EBE7877C389338D33FBFDFBFFFF
        FFFFFFFFFFFFFFFFFFFF79AC79358E3675C4826EBE796DBC786DBA766DB7756D
        B4734D94580E5F0EFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
        FFFFFFFFFFFFAACCAA1D8B1D85C48C78C07F84C58E319531F6F8F6FFFFFFFFFF
        FFFFFFFFFFFFFFFFFFFFFFFFFF6EA86E3395337FC68878C17F78BF7E77BD7D77
        BB7C77B87A3E89440B650BFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
        FFFFFFFFFFFFFFFFFF9EC59E2190219DCFA22C952CEFF6EFFFFFFFFFFFFFFFFF
        FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF63A4632E962F8ACA8F83C68783C48683
        C28582C08482BE83308131086808FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
        FFFFFFFFFFFFFFFFFFFFFFFF95C29585C385E7F2E7FFFFFFFFFFFFFFFFFFFFFF
        FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF579F5728962895D0978ECD908E
        CB8F8ECA8F8EC98E8EC98E248024076F07FFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
        FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
        FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF4C9B4C2495249ED99F9A
        D69A9AD69A9AD69A9AD69A9AD69A4BA24BFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
        FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
        FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF3F973F1F971FA8
        E3A8A5E2A5A5E2A5A5E2A5389C38098409FFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
        FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
        FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF3693361C
        971CB3EFB3B1EFB145A245088608FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
        FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
        FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF2B
        8E2B2F9C2FA5CEA5098809FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
        FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
        FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
        FFFF4D9E4D79B979FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
        FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
        FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
        FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
        FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
        FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
        FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
        FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
        FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
        FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
        FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
        FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
        FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
        FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
        FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
        FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
        FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
        FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
        FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF}
      Layout = blGlyphTop
      ParentDoubleBuffered = False
      TabOrder = 5
      OnClick = BtnRepararClick
    end
  end
  object DBGrid1: TDBGrid
    Left = 0
    Top = 57
    Width = 992
    Height = 287
    Align = alClient
    DataSource = dsNotas
    ReadOnly = True
    TabOrder = 2
    TitleFont.Charset = DEFAULT_CHARSET
    TitleFont.Color = clWindowText
    TitleFont.Height = -11
    TitleFont.Name = 'Tahoma'
    TitleFont.Style = []
  end
  object uqNFCe: TUniQuery
    Connection = DM.UniConnection1
    SQL.Strings = (
      
        'select t.dataemissao , t.datasaida ,t.idmov , t.numeromov , tn.c' +
        'stat , tn.chaveacesso , tn.xmlnfe , t.codtmv from tnfe tn'
      'inner join tmov t'
      'on tn.idmov = t.idmov'
      'where (t.dataemissao between :dtinicial and :dtfinal)'
      'and tn.cstat = :cstat'
      'and t.status <> '#39'C'#39)
    Left = 712
    Top = 8
    ParamData = <
      item
        DataType = ftUnknown
        Name = 'dtinicial'
      end
      item
        DataType = ftUnknown
        Name = 'dtfinal'
      end
      item
        DataType = ftUnknown
        Name = 'cstat'
      end>
    object uqNFCeIDMOV: TIntegerField
      FieldName = 'IDMOV'
      Required = True
    end
    object uqNFCeDATAEMISSAO: TDateField
      FieldName = 'DATAEMISSAO'
    end
    object uqNFCeDATASAIDA: TDateField
      FieldName = 'DATASAIDA'
    end
    object uqNFCeNUMEROMOV: TStringField
      FieldName = 'NUMEROMOV'
      Size = 35
    end
    object uqNFCeCSTAT: TStringField
      FieldName = 'CSTAT'
      ReadOnly = True
      Size = 3
    end
    object uqNFCeCHAVEACESSO: TStringField
      FieldName = 'CHAVEACESSO'
      ReadOnly = True
      Size = 44
    end
    object uqNFCeXMLNFE: TMemoField
      FieldName = 'XMLNFE'
      ReadOnly = True
      Visible = False
      BlobType = ftMemo
    end
    object uqNFCeCODTMV: TStringField
      FieldName = 'CODTMV'
      Size = 10
    end
  end
  object dsNotas: TUniDataSource
    DataSet = uqNFCe
    Left = 648
    Top = 8
  end
  object XMLDocument: TXMLDocument
    Left = 504
    Top = 128
    DOMVendorDesc = 'MSXML'
  end
  object uqNFCeAlt: TUniQuery
    Connection = DM.UniConnection1
    Left = 584
    Top = 8
  end
end
